/////////////////////////////////////////////////////////////////////////////
// Name:        dgt_KernelTestApp.cpp
// Purpose:     
// Author:      
// Modified by: 
// Created:     11/08/2008 22:48:44
// RCS-ID:      
// Copyright:   
// Licence:     
/////////////////////////////////////////////////////////////////////////////

// For compilers that support precompilation, includes "wx/wx.h".
#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif

#ifndef WX_PRECOMP
#include "wx/wx.h"
#endif

////@begin includes
////@end includes

#include "dgt_KernelTestApp.h"
#include "dgt_KernelTestFrame.h"
////@begin XPM images

////@end XPM images


/*!
 * Application instance implementation
 */

////@begin implement app
IMPLEMENT_APP( Dgt_KernelTestApp )
////@end implement app


/*!
 * Dgt_KernelTestApp type definition
 */

IMPLEMENT_CLASS( Dgt_KernelTestApp, wxApp )


/*!
 * Dgt_KernelTestApp event table definition
 */

BEGIN_EVENT_TABLE( Dgt_KernelTestApp, wxApp )

////@begin Dgt_KernelTestApp event table entries
////@end Dgt_KernelTestApp event table entries

END_EVENT_TABLE()


/*!
 * Constructor for Dgt_KernelTestApp
 */

Dgt_KernelTestApp::Dgt_KernelTestApp()
{
    Init();
}


/*!
 * Member initialisation
 */

void Dgt_KernelTestApp::Init()
{
////@begin Dgt_KernelTestApp member initialisation
////@end Dgt_KernelTestApp member initialisation
}

/*!
 * Initialisation for Dgt_KernelTestApp
 */

bool Dgt_KernelTestApp::OnInit()
{    
////@begin Dgt_KernelTestApp initialisation
    // Remove the comment markers above and below this block
    // to make permanent changes to the code.

#if wxUSE_XPM
    wxImage::AddHandler(new wxXPMHandler);
#endif
#if wxUSE_LIBPNG
    wxImage::AddHandler(new wxPNGHandler);
#endif
#if wxUSE_LIBJPEG
    wxImage::AddHandler(new wxJPEGHandler);
#endif
#if wxUSE_GIF
    wxImage::AddHandler(new wxGIFHandler);
#endif
////@end Dgt_KernelTestApp initialisation
	dgt_KernelTestFrame *Frame = new dgt_KernelTestFrame(NULL);
	Frame->Show();
    return true;
}


/*!
 * Cleanup for Dgt_KernelTestApp
 */

int Dgt_KernelTestApp::OnExit()
{    
////@begin Dgt_KernelTestApp cleanup
    return wxApp::OnExit();
////@end Dgt_KernelTestApp cleanup
}

